package com.ruoyi.forum.dao;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.forum.domain.CircleTopicReply;
import com.ruoyi.forum.mapper.CircleTopicReplyMapper;
import com.ruoyi.forum.model.TopicGreantStatus;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * DAO
 *
 * @author lxk
 * @date 2018-10-17 10:05:32
 */
@Repository
public class CircleTopicReplyDao extends ServiceImpl<CircleTopicReplyMapper, CircleTopicReply> {

    @Resource
    private CircleTopicReplyMapper circleTopicReplyMapper;

    public List<TopicGreantStatus> getTopicIdsGreatStatus(String uid, List<Long> topicIds) {
        return circleTopicReplyMapper.getTopicIdsGreatStatus(uid, topicIds);
    }
}